gtklabel: Fix touch link handling under wayland
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 25 Jul 2017 14:18:07 +0000 (16:18 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 26 Jul 2017 11:20:56 +0000 (13:20 +0200)
commit2d3882c7ebf150caffa9161643aaf37396b1f0ae
tree24437bbb6d189573ff39e2e89362aad56bc78600
parent21062fab022b97fb37d9ffa29eae7f3815ef6a16
gtklabel: Fix touch link handling under wayland

Refactor the code updating the active link under the current coordinates
into a separate function, and call it on GtkGestureMultiPress::pressed
so the link is updated on GDK_TOUCH_BEGIN. Based on a patch by
Jan-Michael Brummer <jan.brummer@tabos.org>.

https://bugzilla.gnome.org/show_bug.cgi?id=776903
gtk/gtklabel.c